/*
 * ServiceContextImpl.java
 *
 * Created on September 24, 2008, 5:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.context;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author nestor.carrasco
 */
public class ServiceContextImpl implements ServiceContext {
    
     private Map _hshAttributes = new HashMap(1);

    private String _scCommand = null;

    public void setAttribute(String saName, Object objaValue) {
        _hshAttributes.put(saName, objaValue);

    }
   
    public Object getAttribute(String saName) {
        return _hshAttributes.get(saName);
    }

    public void clear() {
        _hshAttributes.clear();
    }

}
